export class Q {
    public a(i: number): number {
        if (i === 1) {
            return 1;
        } else {
            const s = this.a(i - 1); // 调用子类的a
            console.log('s1', s);
            return i + s;
        }
    }
}
